﻿<!--
  @create by 
  @update by 
  @description 
-->
<div>
  <el-form-q :field-data="queryFields" :buttons="queryButtons"></el-form-q>
  <div class="yu-toolBar">
    <el-button-group>
      <el-button icon="document" @click="infoFn" v-if="checkPermission('detail')" >查看</el-button>
    </el-button-group>
  </div>
  <el-table-x ref="reftable" :row-index="true" :radiobox="false" :base-params="baseParams"
       :data-url="dataUrl" :table-columns="tableColumns" :request-type="'POST'"></el-table-x>
  <!-- 说明dialog可配置宽高属性，若不配置则宽度默认为屏幕50%，高度自适应
     width="650px" height="380px" -->
  <el-dialog-x :title="viewTitle[viewType]" :visible.sync="dialogVisible" size="full">
    <el-form-x ref="reform" :group-fields="updateFields" :disabled="formDisabled" label-width="130px"></el-form-x>
    <el-table-x ref="appReftable" :pageable="true" :data-url="applyDetailDataUrl" 
        :default-load="false" :table-columns="appTableColumns" :request-type="'POST'">
    </el-table-x>
    <el-form-x :buttons="updateButtons"></el-form-x>
  </el-dialog-x>
</div>
